﻿using System.Collections.Generic;
using Distribution.Data;
using Entities;

namespace Distribution.Service
{
    public class LLookUpService
    {
        #region - Public methods -

        public static List<ELookUp> GetAll(LookUpType lookUpType)
        {
            return DLookUp.GetAll(lookUpType);
        }

        public static List<ETransformerLookUp> GetAll(TransformerLookUpType lookUpType)
        {
            return DTransformerLookup.GetAll(lookUpType);
        }

        public static List<ELookUp> GetAllTops()
        {
            return DLookUp.GetAllTops();
        }

        public static void Insert(ELookUp lookUp)
        {
            DLookUp.Insert(lookUp);
        }

        #endregion
    }
}
